#ifndef DBSCAN_KDTREE_H
#define DBSCAN_KDTREE_H

#include "DBSCAN_simple.h"
#include <pcl/point_types.h>
namespace perception
{
    namespace algorithm
    {
        template <typename PointT>
        class DBSCANKdtreeCluster : public DBSCANSimpleCluster<PointT>
        {
        protected:
            virtual int radiusSearch(
                int index, double radius, std::vector<int> &k_indices,
                std::vector<float> &k_sqr_distances) const
            {
                return this->search_method_->radiusSearch(index, radius, k_indices, k_sqr_distances);
            }

        }; // class DBSCANCluster
    }
}
#endif // DBSCAN_KDTREE_H